package com.jike.mahjong.dao;

import com.jike.mahjong.model.CronJob;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("jobDao")
public interface ScheduleJobDao {
	int deleteByPrimaryKey(Long jobId);

	int insert(CronJob record);

	int insertSelective(CronJob record);

	CronJob selectByPrimaryKey(Long jobId);

	int updateByPrimaryKeySelective(CronJob record);

	int updateByPrimaryKey(CronJob record);

	int countTaskNum();

	List<CronJob> getAll();
}